using System;

using Sunyi.Project.WebPoint.DataAccessController;
using Sunyi.Project.WebPoint.DataContract;

namespace Sunyi.Project.WebPoint.BusinessLogic
{
    public partial class RoleManager
    {
        RoleDaoController controller = new RoleDaoController();

        public Role Select(Guid roleId)
        {
            return controller.Select(roleId);
        }

        public void Insert(Role role)
        {
            controller.Insert(role);
        }

        public void Update(Role role)
        {
            controller.Update(role);
        }

        public void Delete(Guid id)
        {
            controller.Delete(id);
        }

        public void Save(Role role)
        {
            controller.Save(role);
        }
    }
}
